<!DOCTYPE html>
<html lang="en">
<html xmlns:th="http://www.thymeleaf.org">
<link rel="stylesheet" href="./css/font.css">
<link rel="stylesheet" href="./css/xadmin.css">
<script type="text/javascript" src="./lib/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="./js/xadmin.js"></script>

<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
<body>
<div>
    <div>
        <div>
            <form action="/delCustomer">
                <div>
                    <label for="customerid" class="layui-slider-input-txt">请输入要删除的客户id</label>
                    <div class="layui-inline">
                        <input type="text" id="customerid" name="customerid" required=""
                               autocomplete="off" class="layui-input">
                    </div>
                    <div class="layui-inline">
                        <button class="layui-btn">删除</button>
                    </div>
                </div>
            </form>
        </div>
        <div>
            <form action="/updateCustomerInp">
                <div>
                    <label for="customeridforupdate" class="layui-slider-input-txt">请输入要修改的客户id</label>
                    <div class="layui-inline">
                        <input type="text" id="customeridforupdate" name="customeridforupdate" required=""
                               autocomplete="off" class="layui-input">
                    </div>
                    <div class="layui-inline">
                        <button class="layui-btn">修改</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <table border="1" width="50%" class="layui-table">
        <tr class="layui-table-header">
            <td>客户id</td>
            <td>客户名字</td>
            <td>客户电话</td>
            <td>客户地址</td>
            <td>客户物流方式</td>
            <td>客户备用电话</td>
        </tr>
        <tr align="center" th:each="customer:${aa}" class="layui-table-body">
            <td th:text="${customer.customerId}">id</td>
            <td th:text="${customer.customerName}">name</td>
            <td th:text="${customer.customerTel}">tel</td>
            <td th:text="${customer.customerAddress}">address</td>
            <td th:text="${customer.customerTransport}">transport</td>
            <td th:text="${customer.customerTel2}">tel2</td>
        </tr>
    </table>
</div>



</body>
</html>